<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close"><i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element">
                    <span><img alt="image" class="img-circle" src="/img/admin/index/profile_small.jpg" /></span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">{{--{{ $user->id.':'.$user->name }}--}}</strong></span>
                                <span class="text-muted text-xs block">设置<b class="caret"></b></span>
                                </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        @if(!$isAdmin)
                        <li>
                         <a class="J_menuItem" href="/admin/user/modifyPw">修改密码</a>
                        </li>
                        @endif
                        <li class="divider"></li>
                        <li><a href="/auth/logout">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">H+
                </div>
            </li>

            @foreach($slideMenu as $key => $val)
                @if(count($val['childs'])>0)
                <li>
                    <a href="javascript:void(0);">
                        <i class="fa fa-cutlery"></i>
                        <span class="nav-label">{{ $val['label'] }}</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        @foreach($val['childs'] as $kk => $vv )
                        <li>
                            <a class="J_menuItem" href="/{{ $vv['name'] }}">{{ $vv['label'] }}</a>
                        </li>
                        @endforeach
                    </ul>
                </li>
                @endif
            @endforeach
            <li>
                <a href="#">
                    <i class="fa fa-edit"></i>
                    <span class="nav-label">资产网站</span>
                    <span class="fa arrow"></span>
                </a>
                <ul class="nav nav-second-level">
                    <li>
                        <a class="J_menuItem" href="/ceb/giftPacks/index">test</a>
                    </li>

                </ul>
            </li>
            {{--<li>
                <a href="#">
                    <i class="fa fa-edit"></i>
                    <span class="nav-label">资产网站</span>
                    <span class="fa arrow"></span>
                </a>
                <ul class="nav nav-second-level">
                    <li>
                        <a class="J_menuItem" href="/admin/honestasset/product/index">产品管理</a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/admin/honestasset/announce/index">信息披露</a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/admin/honestasset/mediareport/index">媒体报道</a>
                    </li>

                </ul>
                </li>

                <li>
                    <a href="#">
                        <i class="fa fa-home"></i>
                        <span class="nav-label">集团官网</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="{{ url('/admin/group/announce/index') }}">信息披露</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="{{ url('/admin/group/information/index') }}">资讯管理</a>
                        </li>
                    </ul>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-cutlery"></i>
                        <span class="nav-label">系统管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" href="{{ url('/admin/permission/index') }}">权限列表</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="{{ url('/admin/role/index') }}">角色列表</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="{{ url('/admin/user/index') }}">用户列表</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="{{ url('/admin/category/index') }}">栏目管理</a>
                        </li>
                    </ul>
                </li>--}}

        </ul>
    </div>
</nav>